let xid = 1000;
const createName = () => `城市${xid++}`;
export default [
  {
    url: '/common/address/region',
    isAllResult: true,
    result: {
      success: true,
      code: '0000',
      'result|10': [
        {
          'code|+1': 130102,
          name: createName,
          level: 3,
        },
      ],
    },
  },
  {
    url: '/purchase/categoryList',
    isAllResult: true,
    result: {
      success: true,
      code: '0000',
      'result|10': [
        {
          'id|+1': 1,
          pid: 2,
          name: createName,
          level: '1',
          'childs|10': [
            {
              'id|+1': 1,
              pid: 2,
              name: createName,
              level: '1',
              'childs|10': [
                {
                  'id|+1': 1,
                  pid: 2,
                  name: createName,
                  level: '1',
                },
              ],
            },
          ],
        },
      ],
    },
  },
];
